import axios from "axios";
export const getData = () => axios({ url: "/users/getdata" })
export const addmember = (input) => axios({
    url:'/users/addmember',
    data:{
        name:input,
    },
    method:'post'
})
export const removeMember = (input) =>axios({
    url:'/users/removeMember',
    data:{
        _id:input
    },
    method:'post'
})
// export const removemember = () => axios ({

// })
// export const getdata = function(){
//     return axios({})
// }
export const test = function(){
    console.log(777)
}